import BaseWrap, { BaseWrapPros } from "./BaseWrap";

const CenterWrap = ({ title, children, sx = {} }: BaseWrapPros) => {
  return (
    <BaseWrap
      title={title}
      sx={{
        justifyContent: "center",
        alignItems: "center",
        ...sx,
      }}
    >
      {children}
    </BaseWrap>
  );
};

export default CenterWrap;
